Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Issue 10184021: Some refactoring of global JavaScript objects (Closed)

Created:
April 15, 2013, 2:54 p.m. by Wladimir Palant
Modified:
May 7, 2013, 7:36 a.m.
Reviewers:
Felix Dahlke, Oleksandr
Visibility:
Public.

Description

This started out as a crash fix in setTimeout (context wasn`t being propagated) but I ended up making these objects use new JsValue API wherever possible.

Patch Set 1 #

Patch Set 2 : Unbitrotted patch #

Unified diffs Side-by-side diffs Delta from patch set Stats (+263 lines, -275 lines) Patch
M include/AdblockPlus/JsEngine.h View 1 1 chunk +19 lines, -1 line 0 comments Download
M include/AdblockPlus/JsValue.h View 1 chunk +2 lines, -0 lines 0 comments Download
M include/AdblockPlus/WebRequest.h View 1 chunk +1 line, -1 line 0 comments Download
M src/ConsoleJsObject.h View 1 chunk +2 lines, -2 lines 0 comments Download
M src/ConsoleJsObject.cpp View 1 chunk +12 lines, -14 lines 0 comments Download
M src/FileSystemJsObject.h View 1 1 chunk +1 line, -1 line 0 comments Download
M src/FileSystemJsObject.cpp View 1 6 chunks +94 lines, -128 lines 0 comments Download
M src/GlobalJsObject.h View 1 1 chunk +2 lines, -6 lines 0 comments Download
M src/GlobalJsObject.cpp View 1 1 chunk +23 lines, -43 lines 0 comments Download
M src/JsEngine.cpp View 1 4 chunks +28 lines, -8 lines 0 comments Download
M src/JsValue.cpp View 3 chunks +29 lines, -0 lines 0 comments Download
M src/WebRequestJsObject.h View 1 chunk +2 lines, -2 lines 0 comments Download
M src/WebRequestJsObject.cpp View 1 chunk +36 lines, -68 lines 0 comments Download
M test/GlobalJsObject.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M test/JsEngine.cpp View 1 1 chunk +4 lines, -0 lines 0 comments Download
M test/JsValue.cpp View 6 chunks +8 lines, -0 lines 0 comments Download

Messages

Total messages: 2
Wladimir Palant
April 15, 2013, 2:54 p.m. (2013-04-15 14:54:49 UTC) #1
Felix Dahlke
April 16, 2013, 3:24 p.m. (2013-04-16 15:24:55 UTC) #2
LGTM

Powered by Google App Engine
This is Rietveld