Make [OverrideBuiltins] a no-op outside the normal world. This is a legacy feature that is only needed for backward compatibility.
Let's try and make it a no-op outside the normal world.
Created attachment 333153 [details]
This seems weird to me. This would mean that the same code written for a normal page would run different in an isolated world. If we want to make coding in an isolated world easier, I would rather it be an opt-in mode for the specific isolated world.
Created attachment 333262 [details]
Created attachment 333264 [details]
Created attachment 333265 [details]
(In reply to Sam Weinig from comment #3)
> This seems weird to me. This would mean that the same code written for a
> normal page would run different in an isolated world. If we want to make
> coding in an isolated world easier, I would rather it be an opt-in mode for
> the specific isolated world.
Ok, made it opt-in at Cocoa/C API level.
Comment on attachment 333265 [details]
View in context: https://bugs.webkit.org/attachment.cgi?id=333265&action=review
This has implications in the structure of prototype objects.
> +<input id="test" name="tagName">
Please add a test case in the main world as well.
Created attachment 333349 [details]
Created attachment 333351 [details]
Created attachment 333352 [details]
Comment on attachment 333352 [details]
Rejecting attachment 333352 [details] from commit-queue.
Failed to run "['/Volumes/Data/EWS/WebKit/Tools/Scripts/webkit-patch', '--status-host=webkit-queues.webkit.org', '--bot-id=webkit-cq-02', 'build', '--no-clean', '--no-update', '--build-style=release', '--port=mac']" exit_code: 2 cwd: /Volumes/Data/EWS/WebKit
Last 500 characters of output:
urces/UnifiedSource17.cpp -o /Volumes/Data/EWS/WebKit/WebKitBuild/WebCore.build/Release/WebCore.build/Objects-normal/x86_64/UnifiedSource17.o
** BUILD FAILED **
The following build commands failed:
CompileC /Volumes/Data/EWS/WebKit/WebKitBuild/WebCore.build/Release/WebCore.build/Objects-normal/x86_64/UnifiedSource8.o /Volumes/Data/EWS/WebKit/WebKitBuild/Release/DerivedSources/WebCore/unified-sources/UnifiedSource8.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
Full output: http://webkit-queues.webkit.org/results/6424076
Created attachment 333439 [details]
Comment on attachment 333439 [details]
Clearing flags on attachment: 333439
Committed r228309: <https://trac.webkit.org/changeset/228309>
All reviewed patches have been landed. Closing bug.